package com.deram.ctin.serv.business.service;

import com.deram.ctin.common.bean.PageResult;
import com.deram.ctin.serv.business.entity.BaseUpdateInfo;
import com.deram.ctin.serv.business.entity.BusinessShareholder;
import com.deram.ctin.serv.business.filter.BusinessShareholderFilter;

import java.util.List;

/**
 * @Author: jtt
 * @Description:
 * @Date: 2017/9/13 16:09
 * @version: V1.0
 */
public interface BusinessShareholderService {

    BusinessShareholder find(Long id);

    List<BusinessShareholder> list(BusinessShareholderFilter filter);

    List<BusinessShareholder> findByEnterId(Long id);

    BusinessShareholder save(BusinessShareholder param);

    void delete(Long id);

    void deleteByEnterId(Long id);

    void saveList(BaseUpdateInfo<BusinessShareholder> updateInfo);

    PageResult<BusinessShareholder> findByEnterInfoPage(BusinessShareholderFilter filter,Integer pageNo,Integer pageSize);
}
